Generalized - reduction and explicit substitutions
نویسنده
چکیده
Extending the-calculus with either explicit substitution or generalised reduction has been the subject of extensive research recently which still has many open problems. Due to this reason, the properties of a calculus combining both generalised reduction and explicit substitutions have never been studied. This paper presents such a calculus sg and shows that it is a desirable extension of the-calculus. In particular, we show that sg preserves strong normalisation, is sound and it simulates classical-reduction. Furthermore, we study the simply typed-calculus extended with both generalised reduction and explicit substitution and show that well-typed terms are strongly normalising and that other properties such as subtyping and subject reduction hold. 1 Introduction 1.1 The-calculus with generalised reduction In ((x :: y :N)P)Q, the function starting with x and the argument P result in the redex (x :: y :N)P which when contracted will turn the function starting with y and Q into a redex. This fact has been exploited by many researchers and reduction has been extended so that the future redex based on the matching y and Q is given the same priority as the other redex. Attempts at generalising reduction can be summarized by three axioms: These (related) rules attempt to make more redexes visible. C for example, makes sure that y and Q form a redex even before the redex based on x and P is contracted. Due to compatibility, implies C. Moreover, ((x :: y :N)P)Q ! (x :(y :N)Q)P and hence both and C put adjacently next to its matching argument. moves the argument next to its matching whereas C moves the next to its matching argument. can be equally applied to explicitly and implicitly typed systems. The transfer of or C to explicitly typed systems is not straightforward however, since in these systems, the type of y may be aaected by the reducible pair x ; P. For example, it is ne to write ((x: :: y:x :y)z)u ! (x: :(y:x :y)u)z but not to write ((x: :: y:x :y)z)u ! C (y:x :(x: :y)z)u. For this reason, we study-like rules in this paper. Now, we discuss where generalised reduction has been used (cf. 25]). 31] introduces the notion of a premier redex which is similar to the redex based on y and Q above (which we call generalised redex). 32] uses and (and calls the combination
منابع مشابه
Calculi of Generalized beta-Reduction and Explicit Substitutions: The Type-Free and Simply Typed Versions
Extending the λ-calculus with either explicit substitution or generalized reduction has been the subject of extensive research recently, and still has many open problems. This paper is the first investigation into the properties of a calculus combining both generalized reduction and explicit substitutions. We present a calculus, λgs, that combines a calculus of explicit substitution, λs, and a ...
متن کاملCalculi of Generalised -Reduction and Explicit Substitutions: The Type Free and Simply Typed Versions
Extending the-calculus with either explicit substitution or generalised reduction has been the subject of extensive research recently and still has many open problems. This paper is the rst investigation into the properties of a calculus combining both generalised reduction and explicit substitutions. We present a calculus, gs, that combines a calculus of explicit substitution, s, and a calculu...
متن کاملThe Connuence of the S E -calculus via a Generalized Interpretation Method
The last fteen years have seen an explosion in work on explicit substitution, most of which is done in the style of the-calculus. In KR95a], we extended the-calculus with explicit substitutions by turning de Bruijn's meta-operators into object-operators ooering a style of explicit substitution that diiers from that of. The resulting calculus , s, remains as close as possible to the-calculus fro...
متن کاملDependent Types and Explicit Substitutions
We present a dependent-type system for a λ-calculus with explicit substitutions. In this system, meta-variables, as well as substitutions, are first-class objects. We show that the system enjoys properties like type uniqueness, subject reduction, soundness, confluence and weak normalization.
متن کاملA Calculus of Explicit Substitutions Which Preserves Strong Normalisation , a Calculus of Explicit Substitutions Which Preserves Strong Normalisation
Explicit substitutions were proposed by Abadi, Cardelli, Curien, Hardin and LLvy to internalise substitutions into-calculus and to propose a mechanism for computing on substitutions. is another view of the same concept which aims to explain the process of substitution and to decompose it in small steps. is simple and preserves strong normalisation. Apparently that important property cannot stay...
متن کاملMetaconfluence of Calculi with Explicit Substitutions at a Distance
Confluence is a key property of rewriting calculi that guarantees uniqueness of normal-forms when they exist. Metaconfluence is even more general, and guarantees confluence on open/meta terms, i.e. terms with holes, called metavariables that can be filled up with other (open/meta) terms. The difficulty to deal with open terms comes from the fact that the structure of metaterms is only partially...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996